import React from 'react';
import { RouteComponentProps } from 'react-router';
import { withRouter } from 'umi';
import styles from './index.less';

interface Props extends RouteComponentProps {}

const IndexPage = (props: Props) => {
  return (
    <div>
      <h1 className={styles.title}>
        Page index
        {/* {props.children} */}
      </h1>
    </div>
  );
};

export default withRouter(IndexPage);
